<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{% block title %}登录页{% endblock %}</title>
</head>
<body>
{% include "header.html" ignore missing %}
<h1>{% block h1 %}登录页{% endblock %}</h1>

<form action="" method="post">
    {{session.username}}
    {{request.url}}
    <table>
        <tr>
            <td>用户名</td>
            <td><input type="text" name="name"></td>
        </tr>
        <tr>
            <td>密码</td>
            <td><input type="text" name="password"></td>
        </tr>
        <tr>
            <td><input type="submit" value="{% block button %}登录{% endblock %}"></td>
        </tr>
    </table>

</form>
{% block bottom %}
    <p>我在页面地段</p>
{% endblock %}
</body>
</html>